/**
 * 
 */
package com.shequan.activity.service;

import java.util.List;

import com.shequan.activity.bean.pojo.Activity;
import com.shequan.common.bean.ResultDataStruct;
import com.shequan.shequan.bean.bo.HotsActivityBean;

/**
 * <P>
 * Copyright 2012.
 * </p>
 * <P>
 * All Rights Reserved.
 * </p>
 * 
 * @author YuJF
 * @version 1.0, 2012-3-29
 * @see com.shequan.activity.service.ActivityService
 * @since 1.0
 */
public interface ActivityService {

	/**
	 * 获得当前用户最新活动
	 * 
	 * @param userId
	 * @return
	 */
	ResultDataStruct<Activity> queryLastestActivityByUserId(int userId);

	/**
	 * 查询热门活动列表
	 * 
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-5-12 上午10:52:57
	 */
	List<HotsActivityBean> queryAllHotsActList() throws Exception;

}
